package com.tupu.service.dispatch;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tupu.entity.dispatch.SignalmissingData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * @author 15702
 * @description 针对表【tb_signalmissing_data】的数据库操作Service
 * @createDate 2023-11-22 17:32:20
 */
public interface SignalmissingDataService extends IService<SignalmissingData> {

    void findMissingSignal(LocalDateTime startTime, LocalDateTime endTime);

    void doFindMissingSignal(LocalDateTime startTime, LocalDateTime endTime);

    Map<String, Object> deviceTypePercentage(String station, LocalDateTime startTime, LocalDateTime endTime, String deviceType);

    Map<String, Object> stationPercentage(String deviceType, LocalDateTime startTime, LocalDateTime endTime,String station);

    Page<SignalmissingData> pageMassage(String deviceName,String deviceType, String station, LocalDateTime startTime, LocalDateTime endTime, Long page, Long size);

    List<Map<String, Object>> signalOmissionPointTableMsgStationTop5(String deviceType, LocalDateTime startTime, LocalDateTime endTime);
}
